<%-- 
    Document   : login
    Created on : 26/08/2014, 00:49:24
    Author     : Elias
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <title>Sistema WEB</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link href="css/estilo.css" rel="stylesheet" type="text/css"/>
        <link href='http://fonts.googleapis.com/css?family=Ubuntu' rel='stylesheet' type='text/css'>
        <script src="js/jquery-1.11.1.min.js" type="text/javascript"></script>
        <%
            Integer flag = (Integer) request.getAttribute("flag");
            if(flag != null)
            if (flag == 0) {
        %>
        <script>
            $(document).ready(function() {
                $(".mensagemLogin").slideDown("fast").delay(2000).slideUp("fast");
            });
        </script>
        <% }%>
    </head>
    <body>
        <header>

            <h1 class="tituloCabecalho">Sistema Vendas - WEB </h1>

        </header>

        <div class="corpoDoSistema">
            <div class="mensagemLogin" >
                <p>Senha ou Login inválidos</p>
            </div>
            <form class="formLogin" action="controller" method="post">
                <input type="hidden" name="acao" value="logar" />
                <h3>Login Sistema</h3>
                Login: <input  class="campoTexto" type="text" name="nome" /> <br /> <br />
                Senha: <input class="campoTexto" type="password" name="senha" />
                <br />  <br />

                <input alt="botao de logar"  type="image" src="img/botao_enviar.png"  />

            </form>

        </div>
    </body>
</html>

